using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;


namespace Data.DataSources {
	public class StateParametersDataSource : ObjectDataSourceBase {
		public override string SelectViewName { get { return "ts_StateParameter"; } }
		public override string InsertViewName { get { return "ts_StateParameter"; } }
		public StateParametersDataSource() {
			OrderBy.Add("Name");
		}
		/*
		public DataView Select_StateParameters() {
			DS.SelectCommand = "SELECT * FROM ts_StateParameter";
			return AddRowIfEmpty(DS.Select(new DataSourceSelectArguments()));
		}
		public int Delete_StateParameter(int ID) {
			DS.DeleteCommand = "DELETE FROM ts_StateParameter WHERE ID=@ID";
			DS.DeleteParameters.Add("ID",ID + "");
			return DS.Delete();
		}
		 */
	}
}